﻿using System;

namespace TestByWire
{
	public class TargetInitializedArgs<T> : EventArgs
		where T : class
	{
		public T TargetInstance { get; set; }

		public TargetInitializedArgs(T targetInstance)
		{
			if (targetInstance == null)
			{
				throw new ArgumentNullException("targetInstance");
			}

			TargetInstance = targetInstance;
		}
	}
}